@import "theme";

.container {
  display: flex;
  width: 7.5rem;
  flex-direction: column;
  align-items: center;
  .top-bar {
    background: @app-theme-color;
    height: 0.88rem;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
    .title {
      color: white;
      font-size: 18px;
      flex: 1;
      text-align: center;
    }
    .icon-back {
      font-size: .54rem;
      color: white;
      position: absolute;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: .88rem;
      height: .88rem;
      &:active {
        background: @app-active-theme-color;
      }
    }
    border-bottom: solid 1px @app-theme-color;
    box-shadow: #f0f0f0 2px 2px 2px;
  }
}

.card {
  width: 6.8rem;
  margin-top: .24rem;
  margin-bottom: .24rem;
  flex: 1 0 auto;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  box-shadow: 3px 2px 4px #e0e0e0;
  .map {
    width: 100%;
    height: 4.8rem;
  }
  .circle-container {
    border-radius: 50%;
    border: solid 0.18rem @app-theme-color;
    width: 3.2rem;
    margin: auto;
    height: 3.2rem;
    display: flex;
    margin-top: .64rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2c2c2c;
    &:active {
      background: darken(#fff,5%);
    }
    .clock {
      margin: 0;
      color: #f0820f;
      font-size: 48px;
      font-weight: normal;
      display: flex;
      flex-direction: row;
      align-items: center;
      .second {
        animation: secondAnimation 1s infinite;
        font-size: 24px;
      }
    }
    .tips {
      font-size: 16px;
      color: #888888;
    }
  }
}
.copy-right {
  margin-top: auto;
  font-size: 12px;
  color: #888888;
  text-align: center;
}

@keyframes secondAnimation {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  25% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}